import {Suspense} from 'react'
import {Link, Outlet} from 'react-router-dom'
function discover() {
  return (
    <div className='discover'>
      <div className='header'>
        <Link to="/discover/recommend">推荐</Link>
        <Link to="/discover/rank">排行榜</Link>
        <Link to="/discover/song">歌单</Link>
        <Link to="/discover/dj">主播电台</Link>
        <Link to="/discover/singer">歌手</Link>
        <Link to="/discover/disc">新碟上架</Link>
      </div>
      <Suspense fallback='加载中...'>
        <Outlet />
      </Suspense>
    </div>
  )
}
export default discover
